gtk_snapshot_unref
gtk_snapshot_to_node
gtk_snapshot_free_to_node
+gtk_snapshot_get_renderer
+gtk_snapshot_get_record_names
gtk_snapshot_push
gtk_snapshot_push_transform
gtk_snapshot_push_opacity
* Returns: (transfer none): the #GskRenderer
*/
GskRenderer *
-gtk_snapshot_get_renderer (const GtkSnapshot *snapshot)
+gtk_snapshot_get_renderer (GtkSnapshot *snapshot)
{
return snapshot->renderer;
}
+/**
+ * gtk_snapshot_get_record_names:
+ * @snapshot: a #GtkSnapshot
+ *
+ * Obtains whether the snapshot is recording names
+ * for debugging.
+ *
+ * Returns: whether the snapshot records names
+ */
+gboolean
+gtk_snapshot_get_record_names (GtkSnapshot *snapshot)
+{
+ return snapshot->record_names;
+}
+
/**
* gtk_snapshot_offset:
* @snapshot: a $GtkSnapshot
GDK_AVAILABLE_IN_ALL
GskRenderNode * gtk_snapshot_to_node (GtkSnapshot *snapshot);
+GDK_AVAILABLE_IN_ALL
+GskRenderer * gtk_snapshot_get_renderer (GtkSnapshot *snapshot);
+GDK_AVAILABLE_IN_ALL
+gboolean gtk_snapshot_get_record_names (GtkSnapshot *snapshot);
+
GDK_AVAILABLE_IN_ALL
void gtk_snapshot_push (GtkSnapshot *snapshot,
gboolean keep_coordinates,